<template>
    <div>
        <h1>这是App组件</h1>
        <router-link to="/account">Account</router-link>
        <router-link to="/goodslist">GoodsList</router-link>

        <router-view></router-view>
        <br/>
        <counter></counter>
        <hr>
        <!--<amount></amount>-->
    </div>
</template>

<script>
    import counter from './subcom/counter.vue'
    import amount from './subcom/amount.vue'

    export default {
        name: "App",
        data() {
            return {}
        },
        components: {
            counter,
            amount
        }
    }
</script>

<style scoped>

</style>